package Demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-06-05
 * Time: 16:48
 */
public interface ITest {
    public static final int value = 0;

    public abstract void func();

    default void func1(){
        System.out.println("func1()...");
        doIt();
    }

    private void doIt(){//接口当中的私有方法一般提供给default修饰的方法使用
        System.out.println("doIt()...");
    }
}
